<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="ISO-8859-1">
        <title></title>
    </head>
    <body>
         <?php
        $serveur="localhost"; 
        $user="root"; 
        $password="root";
        $database="carnet_adresses";
        $connexion_serveur = mysqli_connect($serveur, $user, $password,$database);
        $sql = "SELECT * FROM entreprises"; 
        $req = mysqli_query($connexion_serveur, $sql);
        ?>
        <div><a href="../partie1/liste_entreprises.php">Retourner au listing</a></div><br /> 
        <form id="acontact"  action="" method="" name="acontact">
        <label for="ajouter_entreprise">Modifier une Entreprise :</label><br /><br />  
        <label for="raison">Raison sociale :</label><input type="text" id="nom" /><br />
        <label for="adresse">Adresse :</label><textarea name="textarea" rows="10" cols="50"></textarea><br />
        <label for="telephone">Telephone :</label><input type="text" id="tel" /><br />
        <label for="fax">Fax :</label><input type="text" id="fax" /><br />
        <label for="email">Email :</label><input type="text" id="email" /><br />
        <label for="observation">Observations :</label><textarea name="textarea" rows="10" cols="50"></textarea><br /><br />
        <button type="submit" name="envoyer">Envoyer</button>
        </form>
        
    </body>
</html>
